Skip to content

Delay NavigationAPI restore callback after execution context resume#60420

Draft
chromium-wpt-export-bot wants to merge 1 commit into
masterfrom
chromium-export-cl-7901435
Draft

Delay NavigationAPI restore callback after execution context resume#60420
chromium-wpt-export-bot wants to merge 1 commit into
masterfrom
chromium-export-cl-7901435

Conversation

@chromium-wpt-export-bot
Copy link
Copy Markdown
Collaborator

This CL delays NavigationAPI's restore callback timing, triggered by
bfcache restore, after the execution context resumes.

It used to run when the execution context is frozen. JavaScript
execution while frozen is not safe and should be avoided.

Bug:520233115
Change-Id: I888ea7f63364b2cb1fcff05d885465d86d506766
Reviewed-on: https://chromium-review.googlesource.com/7901435
WPT-Export-Revision: dae1a27f9b227a582a4cc47c6b7bb738d37cf4b1

This CL delays NavigationAPI's restore callback timing, triggered by
bfcache restore, after the execution context resumes.

It used to run when the execution context is frozen. JavaScript
execution while frozen is not safe and should be avoided.

Bug:520233115
Change-Id: I888ea7f63364b2cb1fcff05d885465d86d506766
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants